<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"      
xmlns:p="http://primefaces.org/ui">

<head>
 		<link href="style.css" rel="stylesheet" type="text/css"/>
 		<title>编辑</title>
</head>
		<f:view>
			<body>
			<h2>edit</h2>
				<h3>-test</h3>
			<h:form id="edit">
			<input type="hidden" value="${patientBean.patient.pk}"/>
			<table>
	  			<tr>
	    			<td>姓名:</td>
	   				<td>
	   					<h:inputText id="patid" value="#{patientBean.patient.pat_name}"/>
	        				
	   				</td>
	  			</tr>
	
			
			</table>
				<h:commandButton type="submit" id="update" value="更新"
                 action="#{patientBean.updateAction}"/>
    			<h:outputText value=" "/>
    			
			</h:form>

			</body>
	   </f:view>
</html>